ehci-mxc: Fix host power mask bit for i.MX35
authorBenoît Thébaudeau <[email protected]>
Fri, 16 Nov 2012 01:42:49 +0000 (01:42 +0000)
committerStefano Babic <[email protected]>
Mon, 19 Nov 2012 07:49:00 +0000 (08:49 +0100)
The correct bit for H1_PM is 16, not 8, which is the DP pull-up impedance
selection bit.

This issue has been reported by Michael Burkey <[email protected]> and fixed by
Christoph Fritz <[email protected]> on Linux, from which these #define-s
had been copied.

Signed-off-by: Benoît Thébaudeau <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Marek Vasut <[email protected]>
Acked-by: Stefano Babic <[email protected]>
drivers/usb/host/ehci-mxc.c

index 7c5f71ce8600d4096437de242c2188d1ef0e861c..f2642a0266e42266ee1533d6e3539b001ab11abd 100644 (file)
@@ -67,7 +67,7 @@
 #define MX35_H1_SIC_SHIFT      21
 #define MX35_H1_SIC_MASK       (0x3 << MX35_H1_SIC_SHIFT)
 #define MX35_H1_PP_BIT         (1 << 18)
-#define MX35_H1_PM_BIT         (1 << 8)
+#define MX35_H1_PM_BIT         (1 << 16)
 #define MX35_H1_IPPUE_UP_BIT   (1 << 7)
 #define MX35_H1_IPPUE_DOWN_BIT (1 << 6)
 #define MX35_H1_TLL_BIT                (1 << 5)